package com.dsiab.manageService.service;


import com.dsiab.manageService.entity.AccountDto;
import com.dsiab.manageService.entity.SiteInfoDto;
import com.dsiab.manageService.entity.UserDto;

import java.util.List;
import java.util.Map;

public interface AccountService {

  public UserDto login(AccountDto accountDto, String ip ) throws Exception;

  public void updateUserInfo(AccountDto accountDto);

  public List<UserDto> getUserList(int page);

  public void insertRole(String username,String roleId);

  public void deleteRolesByUsername(String username);

  public void deleUser(int id, String username);

  public Map getSiteInfo();

  public void updateSiteInfo(SiteInfoDto siteInfoDto);

  public void register(Map map) throws Exception;

  public UserDto getUserInfo();

  public void getValidEmailEffective(String id);
}